package com.molichuxing.services.infrastructure.dto.response;


import com.molichuxing.framework.dto.ResponseRootDto;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 发票信息
 * </p>
 *
 * @author zhaopenghui
 * @since 2019-09-20
 */
@Data
public class InvoiceDetailDto extends ResponseRootDto {
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    private Integer invoiceDetailId;

    /**
     * 发票申请流水号 invoice_serial_number
     */
    private String invoiceSerialNumber;

    /**
     * 发票代码 invoice_code
     */
    private String invoiceCode;

    /**
     * 发票号码 invoice_no
     */
    private String invoiceNo;

    /**
     * 开票日期 issue_date
     */
    private String issueDate;

    /**
     * 不含税总额 price_amount
     */
    private BigDecimal priceAmount;

    /**
     * 总税额 tax_mount
     */
    private BigDecimal taxMount;

    /**
     * 价税合计金额 price_tax_amount
     */
    private BigDecimal priceTaxAmount;

    /**
     * PDF下载路径 pdf_file
     */
    private String pdfFile;

    /**
     * 发票图片下载路径 image_files
     */
    private String imageFiles;

    /**
     * 发票开具日期（date类型） open_time
     */
    private LocalDateTime openTime;

    /**
     * 发票二维码 qrcode
     */
    private String qrcode;

    /**
     * PDF源文件路径 pdf_source_file
     */
    private String pdfSourceFile;

    /**
     * 发票图片源文件路径 image_source_files
     */
    private String imageSourceFiles;

}
